package com.liuboya.dao.weibo.wbhotsearchrank.mapper;

import com.liuboya.dao.weibo.wbhotsearchrank.entity.WbHotSearchRank;
import com.liuboya.dao.weibo.wbhotsearchrank.entity.WbHotSearchRankExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WbHotSearchRankMapper {
    int countByExample(WbHotSearchRankExample example);

    int deleteByExample(WbHotSearchRankExample example);

    int deleteByPrimaryKey(Long id);

    int insert(WbHotSearchRank record);

    int insertSelective(WbHotSearchRank record);

    List<WbHotSearchRank> selectByExample(WbHotSearchRankExample example);

    WbHotSearchRank selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") WbHotSearchRank record, @Param("example") WbHotSearchRankExample example);

    int updateByExample(@Param("record") WbHotSearchRank record, @Param("example") WbHotSearchRankExample example);

    int updateByPrimaryKeySelective(WbHotSearchRank record);

    int updateByPrimaryKey(WbHotSearchRank record);
}